\hypertarget{class_parameter}{
\section{Parameter$<$ T $>$ Class Template Reference}
\label{class_parameter}\index{Parameter@{Parameter}}
}
{\tt \#include $<$Parameter.h$>$}

Inheritance diagram for Parameter$<$ T $>$::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_parameter}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{class_parameter_121156f960cd5565f941ce7d6e925426}{Parameter} (string \_\-label, T \_\-value, string \_\-comment=\char`\"{}\char`\"{})
\item 
\hypertarget{class_parameter_9ab37733c41617a578a32859b0838a31}{
\textbf{Parameter} (\hyperlink{class_config_file_parser}{ConfigFileParser} \&\_\-cfg, string \_\-label, T \_\-value, string \_\-comment=\char`\"{}\char`\"{})}
\label{class_parameter_9ab37733c41617a578a32859b0838a31}

\item 
virtual void \hyperlink{class_parameter_894b1b652244a286a84a6be29c4e2db9}{init} (\hyperlink{class_config_file_parser}{ConfigFileParser} \&\_\-cfg)
\item 
virtual void \hyperlink{class_parameter_77c2fda56c2e53f2f56b1f6716e61f9e}{setValue} (const string \&str)
\item 
virtual string \hyperlink{class_parameter_79fa9313dd6266884b3d186c91d3e826}{getValueString} () const 
\item 
\hypertarget{class_parameter_2e8075e50c925084b9bb88bc0da71dc6}{
virtual void \textbf{convertMsg} (const char $\ast$f, const char $\ast$t) const }
\label{class_parameter_2e8075e50c925084b9bb88bc0da71dc6}

\end{CompactItemize}
\begin{Indent}{\bf Access operators}\par
\begin{CompactItemize}
\item 
\hypertarget{class_parameter_3b15484d6beb0b7379a1c3ae987ecb59}{
\hyperlink{class_parameter_3b15484d6beb0b7379a1c3ae987ecb59}{operator T} () const }
\label{class_parameter_3b15484d6beb0b7379a1c3ae987ecb59}

\begin{CompactList}\small\item\em Conversion operator, non-virtual, See C++FAQ-lite \mbox{[}23.8\mbox{]}. \item\end{CompactList}\item 
\hypertarget{class_parameter_9d1ab0f8c8ac339b3de3954de7d7dbaf}{
\hyperlink{class_parameter_9d1ab0f8c8ac339b3de3954de7d7dbaf}{operator T \&} ()}
\label{class_parameter_9d1ab0f8c8ac339b3de3954de7d7dbaf}

\begin{CompactList}\small\item\em reference conversion operator (nonconst = mutator), useful? \item\end{CompactList}\end{CompactItemize}
\end{Indent}
\begin{Indent}{\bf Assignment operators}\par
\begin{CompactItemize}
\item 
\hypertarget{class_parameter_c4489e341d5d3a4c78f92e9426886899}{
void \textbf{operator()} (T \_\-value)}
\label{class_parameter_c4489e341d5d3a4c78f92e9426886899}

\item 
\hypertarget{class_parameter_99d5cf1d5ae66ec29b270205dd40dd82}{
void \textbf{set} (T \_\-value)}
\label{class_parameter_99d5cf1d5ae66ec29b270205dd40dd82}

\end{CompactItemize}
\end{Indent}
\begin{Indent}{\bf Binary Arithmetic operators}\par
\begin{CompactItemize}
\item 
\hypertarget{class_parameter_d9633f64c045ec49764fadb9d49a510f}{
{\footnotesize template$<$typename R $>$ }\\select\_\-type$<$ T, R $>$::type \textbf{operator+} (const R \&rhs) const }
\label{class_parameter_d9633f64c045ec49764fadb9d49a510f}

\item 
\hypertarget{class_parameter_429aeb021182c86018afac9af5bee612}{
{\footnotesize template$<$typename R $>$ }\\select\_\-type$<$ T, R $>$::type \textbf{operator-} (const R \&rhs) const }
\label{class_parameter_429aeb021182c86018afac9af5bee612}

\item 
\hypertarget{class_parameter_41f1ebf2a24f2cb9e3944ce1dfe04edd}{
{\footnotesize template$<$typename R $>$ }\\select\_\-type$<$ T, R $>$::type \textbf{operator$\ast$} (const R \&rhs) const }
\label{class_parameter_41f1ebf2a24f2cb9e3944ce1dfe04edd}

\item 
\hypertarget{class_parameter_ff70c2cbb54224f17cf5f66ceba42946}{
{\footnotesize template$<$typename R $>$ }\\select\_\-type$<$ T, R $>$::type \textbf{operator/} (const R \&rhs) const }
\label{class_parameter_ff70c2cbb54224f17cf5f66ceba42946}

\item 
\hypertarget{class_parameter_ba79f353ae56be6956d306b00085f456}{
{\footnotesize template$<$typename R $>$ }\\T \textbf{operator\%} (const R \&rhs)}
\label{class_parameter_ba79f353ae56be6956d306b00085f456}

\end{CompactItemize}
\end{Indent}
\begin{Indent}{\bf Relational operators}\par
\begin{CompactItemize}
\item 
\hypertarget{class_parameter_f0a711d683d173ca240409c3160f1275}{
{\footnotesize template$<$typename R $>$ }\\bool \textbf{operator==} (const R \&rhs) const }
\label{class_parameter_f0a711d683d173ca240409c3160f1275}

\item 
\hypertarget{class_parameter_e8a4381e55c3749aeebd6ef0e0e55277}{
{\footnotesize template$<$typename R $>$ }\\bool \textbf{operator!=} (const R \&rhs) const }
\label{class_parameter_e8a4381e55c3749aeebd6ef0e0e55277}

\item 
\hypertarget{class_parameter_2b4a7f76c8ce8ff3548b3457354c3e30}{
{\footnotesize template$<$typename R $>$ }\\bool \textbf{operator$>$} (const R \&rhs) const }
\label{class_parameter_2b4a7f76c8ce8ff3548b3457354c3e30}

\item 
\hypertarget{class_parameter_531ec16489534d8bcb9fc17eb61f8ed3}{
{\footnotesize template$<$typename R $>$ }\\bool \textbf{operator$>$=} (const R \&rhs) const }
\label{class_parameter_531ec16489534d8bcb9fc17eb61f8ed3}

\item 
\hypertarget{class_parameter_7b300ad54f58d8b3eba96e47183f439d}{
{\footnotesize template$<$typename R $>$ }\\bool \textbf{operator$<$} (const R \&rhs) const }
\label{class_parameter_7b300ad54f58d8b3eba96e47183f439d}

\item 
\hypertarget{class_parameter_0dc02095c1f343547df4c03d27792149}{
{\footnotesize template$<$typename R $>$ }\\bool \textbf{operator$<$=} (const R \&rhs) const }
\label{class_parameter_0dc02095c1f343547df4c03d27792149}

\end{CompactItemize}
\end{Indent}
\begin{Indent}{\bf Unary Arithmetic operators}\par
\begin{CompactItemize}
\item 
\hypertarget{class_parameter_45b98039a21d485e71ff7103516a6c5e}{
T \textbf{operator-} () const }
\label{class_parameter_45b98039a21d485e71ff7103516a6c5e}

\end{CompactItemize}
\end{Indent}


\subsection{Detailed Description}
\subsubsection*{template$<$typename T$>$ class Parameter$<$ T $>$}

additional cpp\_\-type\_\-traits for complex$<$double$>$ used by select\_\-type select\_\-type template tool determines the return types of the templated binary arithemtic operators of \hyperlink{class_parameter}{Parameter}$<$T$>$ general type selection template for binary arithmetic operators: generally its good to return the type of the left (lhs) argument: template$<$typename T, typename R$>$ struct best\_\-type \{ typedef T type; \}; special type selection templates for binary arithmetic operators: if the right (rhs) argument is more general than the lhs one, return lhs type template$<$$>$ struct best\_\-type$<$int, double$>$ \{ typedef double type; \}; template$<$$>$ struct best\_\-type$<$int, Parameter$<$double$>$ $>$ \{ typedef double type; \}; undef complex template$<$$>$ struct best\_\-type$<$double, complex$<$double$>$ $>$ \{ typedef complex$<$double$>$ type; \}; define complex complex$<$double$>$ 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_parameter_121156f960cd5565f941ce7d6e925426}{
\index{Parameter@{Parameter}!Parameter@{Parameter}}
\index{Parameter@{Parameter}!Parameter@{Parameter}}
\subsubsection[{Parameter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ {\bf Parameter}$<$ T $>$::{\bf Parameter} (string {\em \_\-label}, \/  T {\em \_\-value}, \/  string {\em \_\-comment} = {\tt \char`\"{}\char`\"{}})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{class_parameter_121156f960cd5565f941ce7d6e925426}


\hyperlink{class_parameter}{Parameter}$<$T$>$ class constructors 

\subsection{Member Function Documentation}
\hypertarget{class_parameter_79fa9313dd6266884b3d186c91d3e826}{
\index{Parameter@{Parameter}!getValueString@{getValueString}}
\index{getValueString@{getValueString}!Parameter@{Parameter}}
\subsubsection[{getValueString}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ string {\bf Parameter}$<$ T $>$::getValueString () const\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}}
\label{class_parameter_79fa9313dd6266884b3d186c91d3e826}


Get a string from the \_\-data \begin{Desc}
\item[Returns:]the string representation of the value\end{Desc}
Get a string from the \_\-data \begin{Desc}
\item[Returns:]the string representation of the \_\-data \end{Desc}


Implements \hyperlink{class_parameter___a_b_c}{Parameter\_\-ABC}.\hypertarget{class_parameter_894b1b652244a286a84a6be29c4e2db9}{
\index{Parameter@{Parameter}!init@{init}}
\index{init@{init}!Parameter@{Parameter}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ void {\bf Parameter}$<$ T $>$::init ({\bf ConfigFileParser} \& {\em \_\-cfg})\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}}
\label{class_parameter_894b1b652244a286a84a6be29c4e2db9}


\hyperlink{class_parameter}{Parameter}$<$T$>$ init(ConfigFileParser) for late initialization 

Implements \hyperlink{class_parameter___a_b_c}{Parameter\_\-ABC}.\hypertarget{class_parameter_77c2fda56c2e53f2f56b1f6716e61f9e}{
\index{Parameter@{Parameter}!setValue@{setValue}}
\index{setValue@{setValue}!Parameter@{Parameter}}
\subsubsection[{setValue}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ void {\bf Parameter}$<$ T $>$::setValue (const string \& {\em str})\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}}
\label{class_parameter_77c2fda56c2e53f2f56b1f6716e61f9e}


Set the \_\-data from a string \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em str}]the string representation of the value \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]nothing\end{Desc}
Set the \_\-data from a string \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em str}]the string representation of the \_\-data \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]nothing \end{Desc}


Implements \hyperlink{class_parameter___a_b_c}{Parameter\_\-ABC}.

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
/Users/carloshergar/optica/Plasmas/rana-pic/trunk/include/\hyperlink{_parameter_8h}{Parameter.h}\end{CompactItemize}
